package common

import (
	"gitee.com/game_diamond/server"
	"gitee.com/game_diamond/session"
)

func ChangeScene(userId, newSceneId int, segId int) {
	//student
	//teacher
	actor, err := session.GetGlobalUserActor(userId)
	if err != nil {
		//log
		return
	}
	f, err := server.GetWsScene(actor, newSceneId)
	if err != nil {
		//log

		return
	}
	f(userId)
}
